package shop.up.cart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * TODO {@link ServiceCartApplication}
 *
 * @author Kevin
 * @date 2023/2/27
 */
@SpringBootApplication
@ComponentScan(basePackages = "shop.up")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "shop.up")
@EnableAsync // 开启异步调用
public class ServiceCartApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceCartApplication.class,args);
    }
}

